-
Notifications
You must be signed in to change notification settings - Fork 14.5k
[clang] [NFC] Mark UnresolvedSetImpl
's move operations as defaulted
#97930
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@llvm/pr-subscribers-clang Author: None (MagentaTreehouse) ChangesFull diff: https://github.com/llvm/llvm-project/pull/97930.diff 1 Files Affected:
diff --git a/clang/include/clang/AST/UnresolvedSet.h b/clang/include/clang/AST/UnresolvedSet.h
index 1369725ab4e96a..46daf32b7eba26 100644
--- a/clang/include/clang/AST/UnresolvedSet.h
+++ b/clang/include/clang/AST/UnresolvedSet.h
@@ -71,9 +71,8 @@ class UnresolvedSetImpl {
UnresolvedSetImpl(const UnresolvedSetImpl &) = default;
UnresolvedSetImpl &operator=(const UnresolvedSetImpl &) = default;
- // FIXME: Switch these to "= default" once MSVC supports generating move ops
- UnresolvedSetImpl(UnresolvedSetImpl &&) {}
- UnresolvedSetImpl &operator=(UnresolvedSetImpl &&) { return *this; }
+ UnresolvedSetImpl(UnresolvedSetImpl &&) = default;
+ UnresolvedSetImpl &operator=(UnresolvedSetImpl &&) = default;
public:
// We don't currently support assignment through this iterator, so we might
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Sirraide Could you help me merge this? Thank you. |
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/50/builds/9260 Here is the relevant piece of the build log for the reference
|
No description provided.